from django.conf.urls.defaults import *

urlpatterns = patterns('',
    # Example:
    # (r'^dragger/', include('dragger.foo.urls')),

    # Uncomment this for admin:
     (r'^admin/', include('django.contrib.admin.urls')),
     (r'^accounts/login/$', 'django.contrib.auth.views.login'),
     (r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
# use this to setup basic filesystem testing
#     (r'^files/(?P<path>.*)$', 'django.views.static.serve', {'document_root': ''}),
     (r'^edit/di/(?P<da_id>\d+)/(?P<di_x>\d+)/(?P<di_y>\d+)/$', 'dragger.drag.views.edit_di'),
     (r'^view/(?P<da_id>\d+)/$', 'dragger.drag.views.view'),
     (r'^$', 'dragger.drag.views.index'),
)
